home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / master / include_file < prev    next >
Text File  |  2001-04-23  |  1KB  |  30 lines

  1. SYNOPSIS
  2.     mixed include_file (string file, string compiled_file, int sys_include)
  3.  
  4. DESCRIPTION
  5.         Generate the pathname of an included file.
  6.  
  7.         Arguments:
  8.           previous_object(): The object causing the compile.
  9.           file             : The name given in the #include directive.
  10.           compiled_file    : The object file which is just compiled.
  11.                              (compat: name given without leading "/")
  12.           sys_include      : TRUE for #include <> directives.
  13.  
  14.         Result:
  15.           0: use the normal include filename generation (""-includes are
  16.              used as they are, <>-includes are handled according to
  17.              H_INCLUDE_DIRS).
  18.  
  19.           <path>: the full absolute pathname of the file to include,
  20.                   without parentdir parts ("/../"). Leading slashes ("/")
  21.                   may be omitted.
  22.  
  23.           else: The include directive is not legal.
  24.  
  25. HISTORY
  26.         Introduced in LDMud 3.2.8.
  27.  
  28. SEE ALSO
  29.         hooks(C), inherit_file(M)
  30.